<?php
/* 
* [文章附表管理模型]
* @author: mazhenyu[houdunwangmzy@163.com]
* @Date:   2014-06-19 15:04:11
* @Last Modified time: 2014-06-20 15:56:45
*/
class ArticleDataModel extends Model{
	public $table = 'article_data';


	/**
	 * [add_data 添加数据]
	 */
	public function add_data($data=NULL){
		return $this->add($data);
	}


	public function del_data($where=NULL){
		return $this->where($where)->delete();
	}
	public function get_one($where=null,$field=null){
		return $this->where($where)->field($field)->find();
	}
}
?>
